package com.hrs.enity.ro;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hrs.common.enums.OrderStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author 摆渡人
 * @description
 * @date 2023/1/13 10:13
 */
@Data
public class PayOrderListRo {

    @ApiModelProperty(value = "发放时间：年月份")
    @JsonFormat(pattern = "yyyy-MM")
    @NotNull(message = "请选择发放时间")
    private Date time;

    @ApiModelProperty(value = "薪酬单号")
    private String idKey;

    @ApiModelProperty(value = "关键字：登记人 复核人模糊")
    private String key;

    @ApiModelProperty(value = "发放单状态，0待登记，1待复核，2正常，3已发放")
    private OrderStatus status;
}
